/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

export async function getInnSmsListJson(params: any) {
  return request('/Inn/InnSmsListJson', {
    method: 'POST',
    data: params,
  });
}

export async function getInnSmsdetail(params: any) {
  return request('/Inn/innSmsdetail', {
    method: 'POST',
    data: params,
  });
}

export async function setInnSmsStatus(params: { cm_id: string; storage_sms_auth: string }) {
  return request('/Inn/innSmsStatus', {
    method: 'POST',
    data: params,
  });
}

export async function getComplaintList(params: any) {
  return request('/Inn/complaintList', {
    method: 'POST',
    data: params,
  });
}

export async function getComplaintDetail(params: any) {
  return request('/Inn/complaintDetail', {
    method: 'POST',
    data: params,
  });
}
export async function SmsMonitorSendSms(params: any) {
  return request('/Inn/sendSms', {
    method: 'POST',
    data: params,
  });
}

export async function SmsMonitorGetExcel(params: any) {
  return request('/Inn/getExcel', {
    method: 'POST',
    data: params,
  });
}
